<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.selectWidth2{
   width:205px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td class="t_bar2" colspan="6">基本信息
		</td>
		</tr>
	<tr>
		<td align="right"><span class="color_red">*</span>项目名称：</td>
		<td  colspan="5">
			<input id="zh_title" name="proposal/zh_title" label="项目名称" type="text" required class="input_css required maxlength:100"  style="width: 680px;" maxlength="100" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>项目实施地点：</td>
		<td  colspan="2">
			<input name="proposal/address" label="项目实施地点" type="text" required class="input_css required "  maxlength="100" value="<x:out select="$xmlData/data/proposal/address" />"/> 
		</td>
		<td align="right" ><span class="color_red">*</span>指南代码：</td>
		<td  valign="middle" colspan="2">
		<input name="proposal/guide_code" value="<x:out select="$xmlData/data/proposal/guide_code" />" class="required" maxlength="100" label="指南代码" />
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap><span class="color_red">*</span>项目开始时间：</td>
	<td colspan="2">
		<c:set var="start_date"><x:out select="$xmlData/data/proposal/start_date" /></c:set>
		<cpt:date id="start_date" name="proposal/start_date" value="${start_date}" className="required date  dateCompare:end_date" label="项目开始时间" ></cpt:date> 
	</td>
	<td  align="right" nowrap><span class="color_red">*</span>项目结束时间：</td>
	<td colspan="2">
		<c:set var="end_date"><x:out select="$xmlData/data/proposal/end_date" /></c:set>
		<cpt:date id="end_date" name="proposal/end_date" className="required date" label="项目结束时间"  value="${end_date}" ></cpt:date> 
	</td>
	</tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>所属技术领域：</td>
		<td  colspan="5">
			<c:set var="technology"><x:out select="$xmlData/data/proposal/technology_value" /></c:set>
			<label><input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="电子与信息" value="01" /><span style="vertical-align: middle;">电子与信息</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="生物技术与新医药" value="02" /><span style="vertical-align: middle;">生物技术与新医药</span></label> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="新型材料" value="03" /><span style="vertical-align: middle;">新型材料</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="光机电一体化" value="04" /><span style="vertical-align: middle;">光机电一体化</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="新能源与高效节能" value="05" /><span style="vertical-align: middle;">新能源与高效节能</span></label><br/>
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="环境与资源利用" value="06" /><span style="vertical-align: middle;">环境与资源利用</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="航空航天" value="07" /><span style="vertical-align: middle;">航空航天</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="现代交通" value="08" /><span style="vertical-align: middle;">现代交通</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="地球、空间及海洋工程" value="09" /><span style="vertical-align: middle;">地球、空间及海洋工程</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="核技术应用" value="10" /><span style="vertical-align: middle;">核技术应用</span></label>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; 
			<label> <input type="radio" class="do"  style="vertical-align: middle;" name="technology" label="其他" value="11" /><span style="vertical-align: middle;">其他</span></label>
			<input type="hidden" id="technology_value" name="proposal/technology_value" class="required" value="${technology}" label="所属技术领域">
			<input type="hidden" name="proposal/technology_name" value="<x:out select="$xmlData/data/proposal/technology_name" />">
		</td>
	</tr>
	<tr>
		<td align="right" ><span class="color_red">*</span>项目所属产业：</td>
		<td  colspan="5">
		<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set> 
		<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;"></cpt:checkbox> 
		<input type="hidden" id="industry_value" name="proposal/industry_value"
			class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name"
			value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>技术成熟度：</td>
	<td nowrap  colspan="5" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="maturity" label="研发阶段" value="01" /><span style="vertical-align: middle;">研发阶段</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="maturity" label="中试阶段" value="02" /><span style="vertical-align: middle;">中试阶段</span></label> 
	<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="maturity" label="小批量生产" value="03" /><span style="vertical-align: middle;">小批量生产</span></label>
    <label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="maturity" label="小批量生产" value="04" /><span style="vertical-align: middle;">规模生产</span></label>
    <input type="hidden" name="proposal/maturity_value" id="maturity_value" class="required" value="<x:out select="$xmlData/data/proposal/maturity_value" />" label="技术成熟度" /> 
	<input type="hidden" name="proposal/maturity_name" id="maturity_name" value="<x:out select="$xmlData/data/proposal/maturity_name" />" /></td>
	</tr>	
	<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申请日期：</td>
		<td colspan="5">
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申请日期"></cpt:date> 
		</td>
	</tr>
	<tr>
		<td class="t_bar2" colspan="6">申报项目资金情况（金额单位：万元）</td>
	</tr>
	<tr>
	<td   align="right" nowrap>项目计划投资总额：</td>
	<td  colspan="2">
	<input  name="proposal/xmjhtzze" id="xmjhtzze" label="项目计划投资总额" type="text"  class="input_css  gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/xmjhtzze" />"/> 
	</td>
	<td   align="right" nowrap>其中：已完成投资：</td>
	<td  colspan="2">
	<input  name="proposal/ywctz" id="ywctz" class="gray " disabled label="其中：已完成投资" type="text" required class="input_css " style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/ywctz" />"/> 
	</td>
	</tr>
	<tr>
	<td   align="right" nowrap>计划新增投资：</td>
	<td  colspan="2">
	<input  name="proposal/jhxztz" id="jhxztz" label="计划新增投资" type="text"  class="input_css  gray" disabled style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/jhxztz" />"/> 
	</td>
	<td   align="right" nowrap>申请金额：</td>
	<td  colspan="2">
	<input  name="proposal/sqje" id="sqje" class="gray " disabled label="申请金额" type="text"  class="input_css " style="text-align: right" onfocus="InitInput.setNumber(this,9,4,2)" value="<x:out select="$xmlData/data/proposal/sqje" />"/> 
	</td>
	</tr>
	<tr>
		<td  align="right"  nowrap>项目类别：</td>
		<td colspan="5"><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
	</tr>
	<tr>
	<td  align="right">支持方式：</td>
		<td  colspan="2">
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
		<td  align="right">资金级次：</td>
		<td colspan="2">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  colspan="2"><span name="proposal/org_name">无锡市科学技术局</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="2">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
	</tr>
	<tr>
	<td colspan="6" class="t_bar2">申请资助依据条款
	</tr>
	 <tr>
		<td colspan="6">
				&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>
<div class="t_bar"><span class="color_red">*</span>项目依托的主要科技成果情况</div>
<table  id="tblScientifics" cellpadding="0" class="table01" width="100%" border="0" cellpadding="0" style="*border-bottom: #a1c0dc 1px solid;">
			<thead >
					<tr style="border:1px solid #B7D1E6">
						<th class="TblHead" align="center"  width="5%">选择</th>
						<th class="TblHead" align="center"  width="5%">序号</th>
						<th class="TblHead" align="center"  width="25%">科技成果名称</th> 
				        <th class="TblHead" align="center"  width="25%">证书号</th> 
						<th class="TblHead" align="center"  width="25%">有效期</th> 
						<th class="TblHead" align="center"  width="15%">所有权人</th> 
					</tr>
			</thead>
			<tbody id="tab">
					<tr style="display:none">
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="sellScientifics" >
						</td>
						<td align="center">&nbsp;
							<span name="scientifics|scientific[0]@seq_no" >[index]</span> 
						</td>
						<td>
							<input type="text" name="scientifics|scientific[0]|scientific_name"  class=" input_text required" maxlength="50" style="width:80%" label="科技成果名称"/>
						</td>
					    <td>
							<input type="text" name="scientifics|scientific[0]|certificate_id"   label="证书号" maxlength="50" style="width:80%" class=" input_text required" />
						</td> 
						<td align="center" nowrap>
						<input  id="scientific_start_date_[0]" name="scientifics|scientific[0]|start_date" label="有效期开始时间" value="" class=" required input_text date dateCompare:scientific_end_date_[0]" style="width:70px" />至
						<input  id="scientific_end_date_[0]" name="scientifics|scientific[0]|end_date" label="有效期结束时间" value="" class=" required input_text date " style="width:70px" />
						</td>
						<td>
							<input type="text" name="scientifics|scientific[0]|owner"   label="所有权人" maxlength="50" style="width:80%" class=" input_text required" />
						</td> 
					</tr>
					
					<c:set value="0" var="index" scope="page"/>
					<x:forEach select="$xmlData/data/scientifics/scientific" var="scientific">
					
					<c:choose>
						<c:when test="${index<10}" ><c:set value="0" var="flag" scope="page"/></c:when>
						<c:otherwise><c:set value="" var="flag" scope="page"/></c:otherwise>
					</c:choose>
					<tr >
						<td align="center">&nbsp;
							<input type="radio" class="radiobutton" name="sellScientifics" >
						</td>
						<td align="center">&nbsp;
							<span name="scientifics/scientific[${flag}${index}]@seq_no" ><x:out select="$scientific/@seq_no"/></span> 
						</td>
						<td>
							<input type="text" name="scientifics/scientific[${flag}${index}]/scientific_name"   style="width:80%"  label="科技成果名称" class=" input_text required" value="<x:out select="$scientific/scientific_name" />" maxlength="50"/>
						</td>
						<td >
							<input type="text" name="scientifics/scientific[${flag}${index}]/certificate_id"  label="证书号" maxlength="50"  style="width:80%"  class=" input_text required" value="<x:out select="$scientific/certificate_id" />"/>
						</td> 
						<td align="center" nowrap>
						<c:set var="start_date" scope="page"><x:out select="$scientific/start_date"/></c:set>
						<input  id="scientific_start_date_[${flag}${index}]" value="${start_date}" name="scientifics/scientific[${flag}${index}]/start_date" class="required date input_text dateCompare:scientific_end_date_[${flag}${index}]" style="width:70px" label="有效期开始时间" />
						至<c:set var="end_date" scope="page"><x:out select="$scientific/end_date"/></c:set>
						<input  id="scientific_end_date_[${flag}${index}]" value="${end_date}" name="scientifics/scientific[${flag}${index}]/end_date" class="required date input_text" style="width:70px" label="有效期结束时间" /> 
			           	</td>
						<td >
							<input type="text" name="scientifics/scientific[${flag}${index}]/owner"  label="认证机构名称" maxlength="50" style="width:80%"  class=" input_text required" value="<x:out select="$scientific/owner" />"/>
						</td> 
					</tr>
					<c:set value="${index+1}" var="index" scope="page"/>
					</x:forEach>
					<script type="text/javascript">
						showAllDateTag("tblScientifics");
		            </script>
				</tbody>
					</table>
					<table width="98%" align="center" id="basicInfo2">
					<tr ><td colspan="6">
					<input class="button" name="cmdAddbefore" type=button value="添加" onclick="if(checkTabLimit('tblScientifics',99,'项目依托的主要科技成果情况最多只能填写99条')){addNewRow('tblScientifics');showAllDateTag('tblScientifics');}try{top.resizeFrame();}catch(e){};">
					<input class="button" name="cmdMovePrev" type=button value="上移" onclick="movePrev('tblScientifics','sellScientifics')">
					<input class="button" name="cmdMoveNext" type=button value="下移" onclick="moveNext('tblScientifics','sellScientifics')">
					<input class="button" name="cmddel" type=button  value="删除" onclick="deleteSelectedRow('tblScientifics','项目依托的主要科技成果情况');">
					</td></tr>
					<tr>
					<td align="right" colspan="2"><span class="color_red">*</span>科技成果来源：</td>
					<td nowrap  colspan="4" valign="middle">
					<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="scientific_source" label="国家重大科技专项的科技成果" value="01" /><span style="vertical-align: middle;">国家重大科技专项的科技成果</span></label> 
					<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="scientific_source" label="国家高技术研究发展（863计划）的科技成果" value="02" /><span style="vertical-align: middle;">国家高技术研究发展（863计划）的科技成果</span></label> 
					<label> <input type="radio" class="do " id="advant_03" style="vertical-align: middle;" name="scientific_source" label="国家重点基础研究发展计划（973计划）的科技成果" value="03" /><span style="vertical-align: middle;">国家重点基础研究发展计划（973计划）的科技成果</span></label>
				    <br/><label> <input type="radio" class="do " id="advant_04" style="vertical-align: middle;" name="scientific_source" label="国家科技支撑计划的科技成果" value="04" /><span style="vertical-align: middle;">国家科技支撑计划的科技成果</span></label>
				    <label> <input type="radio" class="do " id="advant_05" style="vertical-align: middle;" name="scientific_source" label="省级科技支撑计划的科技成果" value="05" /><span style="vertical-align: middle;">省级科技支撑计划的科技成果</span></label>
				    <label> <input type="radio" class="do " id="advant_06" style="vertical-align: middle;" name="scientific_source" label="国家科技进步二等奖以上的科技成果" value="06" /><span style="vertical-align: middle;">国家科技进步二等奖以上的科技成果</span></label>
				    <label> <input type="radio" class="do " id="advant_07" style="vertical-align: middle;" name="scientific_source" label="省级科技进步一等奖科技成果" value="07" /><span style="vertical-align: middle;">省级科技进步一等奖科技成果</span></label>
				    <br/><label> <input type="radio" class="do " id="advant_08" style="vertical-align: middle;" name="scientific_source" label="国家技术发明一等奖科技成果" value="08" /><span style="vertical-align: middle;">国家技术发明一等奖科技成果</span></label>
				    <label> <input type="radio" class="do " id="advant_09" style="vertical-align: middle;" name="scientific_source" label="无锡市确定支持的其他重大科技成果" value="09" /><span style="vertical-align: middle;">无锡市确定支持的其他重大科技成果</span></label>
				    <input type="hidden" name="proposal/scientific_source_value" id="scientific_source_value" class="required" value="<x:out select="$xmlData/data/proposal/scientific_source_value" />" label="项目依托的主要科技成果情况-->科技成果来源" /> 
					<input type="hidden" name="proposal/scientific_source_name" id="scientific_source_name" value="<x:out select="$xmlData/data/proposal/scientific_source_name" />" /></td>
					</tr>	
	               </table>	
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org1">
	
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息</td>
		
	</tr>
	<tr>
		<td    class="t_bar2" colspan="4">合作单位信息1</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name1" label="合作单位信息1" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name1" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address1" label="合作单位信息1-->地址" type="text"  class="input_css " onchange="cydw('org1');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address1" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature1">{'id':'<x:out select="$xmlData/data/proposal/nature1_code" />','name':'<x:out select="$xmlData/data/proposal/nature1_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature1}"  label="合作单位信息1-->注册类型"
          		id="nature1" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature1_code" type="hidden" name="proposal/nature1_code" class="" label="合作单位信息1-->注册类型" value="<x:out select="$xmlData/data/proposal/nature1_code" />"/>
            <input id="nature1_name" type="hidden" name="proposal/nature1_name"  value="<x:out select="$xmlData/data/proposal/nature1_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no1" label="合作单位信息1-->组织机构代码" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no1" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name1" label="合作单位信息1-->联系人姓名" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name1" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel1" label="合作单位信息1-->联系人电话" type="text"  class="input_css " onchange="cydw('org1');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel1" />"/></td>
	</tr>
</table>
<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1" id="org2">
<tr>
		<td    class="t_bar2" colspan="4">合作单位信息2</td>
		
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color1" style="display:none">*</span>单位名称：</td>
		<td colspan="3">
		<input  name="proposal/org_name2" label="合作单位信息2" type="text" required class="input_css " onchange="cydw('org2');"  style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/org_name2" />"/>
		</td>
	</tr>
	<tr>
		<td align="right"><span class="color_red" id="color2" style="display:none">*</span>单位地址：</td>
		<td colspan="3">
		<input  name="proposal/address2" label="合作单位信息2-->地址" type="text" required class="input_css " onchange="cydw('org2');" style="width: 725px;"  maxlength="100" value="<x:out select="$xmlData/data/proposal/address2" />"/>
		</td>
	</tr>
	<tr>
	<td width="14%" align="right"><span class="color_red" id="color3" style="display:none">*</span>注册类型：</td>
          <td width="38%" align="left" colspan="1" >
          	<c:set var="nature2">{'id':'<x:out select="$xmlData/data/proposal/nature2_code" />','name':'<x:out select="$xmlData/data/proposal/nature2_name" />'}</c:set>
          	<cpt:tree key="nature_type" cacheable="false" className="hn_iuput_kuang gray" readonly="true" value="${nature2}" label="合作单位信息2-->注册类型"
          		id="nature2" showPattern="current" shieldPattern="0" topCheckbox="false" onClick="initTreeValue2"/>
	        <input id="nature2_code" type="hidden" name="proposal/nature2_code"  class="" label="合作单位信息2-->注册类型" value="<x:out select="$xmlData/data/proposal/nature2_code" />"/>
            <input id="nature2_name" type="hidden" name="proposal/nature2_name"  value="<x:out select="$xmlData/data/proposal/nature2_name" />"/>
          </td>
	<td align="right"><span class="color_red" id="color4" style="display:none">*</span>组织机构代码：</td>
	<td><input  name="proposal/org_no2" label="合作单位信息2-->组织机构代码" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/org_no2" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red" id="color5" style="display:none">*</span>联系人：</td>
	<td><input  name="proposal/lxr_name2" label="合作单位信息2-->联系人姓名" type="text"  class="input_css "  onchange="cydw('org2');" maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_name2" />"/></td>
	<td align="right"><span class="color_red" id="color6" style="display:none">*</span>电话：</td>
	<td><input  name="proposal/lxr_tel2" label="合作单位信息2-->联系人电话" type="text"  class="input_css " onchange="cydw('org2');"  maxlength="20" value="<x:out select="$xmlData/data/proposal/lxr_tel2" />"/></td>
	</tr>
</table>
<br/>
<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo3"
	cellspacing="1">
	
<tr>		<td colspan="8" class="t_bar2">人员信息</td></tr>
	
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
</table>


<script type="text/javascript">

$(function(){
	cydw('org1');
	cydw('org2');
	$("#tblCooperation").find("select").each(function(){
		setIdNoCheck($(this).attr("id"));
	});
});

function cydw(id){
	var count =0 ;
	$("#"+id).find("input[type='text']").each(function(){
		if($.trim($(this).val()) != ''){
			count +=1;
		}
	});
	if(count != 0){
		$("#"+id).find("input[type='text']").each(function(){
			$(this).addClass("required");
		});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','');
		});
	}else{
		$("#"+id).find("input[type='text']").each(function(){
			$(this).removeClass("required");
	});
		$("#"+id).find("span[id^='color']").each(function(){
			$(this).css('display','none');
		});
	}
}

function initTreeValue2CallBack(){
	cydw('org1');
	cydw('org2');
}
function setEmptyValueForTree(id){
	$("#"+id).val("");
	$("#"+id+"_hideId").val("");
	$("#"+id+"_hideName").val("");
	$("#"+id+"_code").val("");
	$("#"+id+"_value").val("");
	$("#"+id+"_name").val("");
	$("#"+id + ",[name$='/"+id+"_code']" + ",[name$='/"+id+"_name'],[name$='/"+id+"_value']").val("");
	$("#sqdm").val("");
	cydw('org1');
	cydw('org2');
}

</script>